package com.example.demo.service.impl;

import com.example.demo.entity.Admin;
import com.example.demo.mapper.AdminMapper;
import com.example.demo.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: yucsa
 * @Date: 2021/8/23 10:25
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    AdminMapper adminMapper ;


    @Override
    public Admin queryAdminByName(String shopName) {
        return adminMapper.queryAdminByName(shopName);
    }
}
